<table width="100%" cellspacing="0" class="dataTable">
    <thead>
        <tr class="tatr1">
            <?php $_from = $this->_var['statheader']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('k', 'v');$this->_foreach['name'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['name']['total'] > 0):
    foreach ($_from AS $this->_var['k'] => $this->_var['v']):
        $this->_foreach['name']['iteration']++;
?>
            <td <?php if (($this->_foreach['name']['iteration'] <= 1)): ?>class="firstCell"<?php endif; ?>><?php echo htmlspecialchars($this->_var['v']['text']); ?></td>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </tr>
    </thead>
    <tbody id="datatable">
        <?php if ($this->_var['statlist']): ?>
        <?php $_from = $this->_var['statlist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('h_k', 'h_v');if (count($_from)):
    foreach ($_from AS $this->_var['h_k'] => $this->_var['h_v']):
?>
        <tr class="tatr2">
            <td class="firstCell"><?php echo htmlspecialchars($this->_var['h_v']['order_id']); ?></td>
            <td><?php echo htmlspecialchars($this->_var['h_v']['refund_sn']); ?></td>
            <td><?php echo htmlspecialchars($this->_var['h_v']['seller_name']); ?></td>
            <td><?php echo $this->_var['h_v']['goods_id']; ?></td>
            <td><?php echo htmlspecialchars($this->_var['h_v']['buyer_name']); ?></td>
            <td><?php echo htmlspecialchars($this->_var['h_v']['created']); ?></td>
            <td><?php echo price_format($this->_var['h_v']['refund_shipping_fee']); ?></td>
            <td><?php echo price_format($this->_var['h_v']['refund_goods_fee']); ?></td>
            <td><?php echo htmlspecialchars($this->_var['h_v']['status']); ?></td>
        </tr>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        <?php else: ?>
        <tr class="no_data">
            <td colspan="9">没有符合条件的记录</td>
        </tr>
        <?php endif; ?>
    </tbody>
</table>
<div class="pageLinks"><?php echo $this->fetch('page.bottom.html'); ?></div>